<?php
/**
 * class description
 * 
 * @package  izz.system
 * @author   Binzy Wu <binzywu@justdn.com>,iCer <iCer@justdn.com>
 * @version  $Id: Registry.php,v 1.1.1.1 2005/03/03 04:53:21 icer Exp $
 */
 
class Registry
{
	var $registryValues;
	
	function Registry()
	{
		$this->__constract();
	}
	
	function __constract()
	{
		//Nothing @_@
	}
	
	function initialize($inifile)
	{
		//must be change
		include_once($inifile);
		$this->registryValues = $_PARA;
	}

	function &getRegistryValues()
	{
		return $this->registryValues;
	}
	
	function &get($key)
	{
		if(isset($this->registValues[$key]))
		{
			return $this->registryValues[$key];
		}
		else 
		{
			return null;
		}
	}

	function set($key, $value)
	{
		$this->registryValues[$key] = $value;
	}

	function restore()
	{
		//to do
	}
}

?>